#pragma once

#include "NodeTips.hpp"
#include "QDialog"
#include "QtNode.hpp"
#include "QTimer"
#include "QLabel"

class NodeTips : public QDialog
{
	Q_OBJECT

public:
	NodeTips(const QString& msg, Qt::NodeGeometry* parent = nullptr);
	~NodeTips();

	void startTimer();

private:

	QTimer* _QTimer;

private:

	void initText(const QString & msg);

	QString _text;
	QLabel _label;
};
